#ifndef __DEFINITIONS_H__
#define __DEFINITIONS_H__

#include "constants.h"

#ifndef __SHORT_CIRCUIT_ET__
#include <math.h>
#define ceild(n,d)  ceil(((double)(n))/((double)(d)))
#define floord(n,d) floor(((double)(n))/((double)(d)))
#define max(x,y)    ((x) > (y)? (x) : (y))
#define min(x,y)    ((x) < (y)? (x) : (y))
#endif
#endif // __DEFINITIONS_H__
